package com.xcity.pomelo.response;

import com.xcity.game.combat.attr.CombatAttribute;
import com.xcity.game.peakroad.model.response.PeakRoadBuff;
import com.xcity.game.peakroad.model.response.RewardFloorSub;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class PeakRoadGetBuffResponse extends Response {
	
	public byte state; // @see RewardFloorSub#STATE_XX
	public PeakRoadBuff buff; // 获得的buff
	
	public PeakRoadGetBuffResponse(int serial, int buffId, CombatAttribute buff) {
		super(serial);
		this.state = RewardFloorSub.STATE_CAN_GET_ITEM;
		this.buff = new PeakRoadBuff(buffId, buff);
	}

}
